package com.atmc.service;

import com.atmc.entity.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DetailsOrderService {
    int insertDetailsOrder(DetailsOrder detailsOrder);
    DetailsOrder queryByDetailsNumber(@Param("detailsNumber") Long detailsNumber);
    public List<DetailsData> goodsOrderAll(String userName);
    public ResponseResult myAdoption(@RequestParam("userName")String userName);
    List<PetsInfo> selectAllPetsByUserName(@Param("userName") String userName);
}
